package main
import (
	"fmt"
)

func moveZeroes(nums []int)  {
	for i:=0;i<len(nums);i++{
		for true{
			fmt.Println(nums)
			if nums[i]==0{
				for j:=i;j<len(nums)-1;j++{
					nums[j]=nums[j+1]
				}
				nums[len(nums)-1] =0
			}else{
				break
			}
			for k:=i;k<len(nums);k++{
				if k!=0{
					continue
				}
			}
			break
		}
	}
	fmt.Println(nums)
}
func  main()  {
	defer fmt.Println("run after function completes")
	nums := []int{0,0,1}// {0,7,0,15,11}
	
	fmt.Println(len(nums))
	moveZeroes(nums)
}